package com.changwu.cwbase.temples.activity;

import com.changwu.cwbase.R;
import com.changwu.cwbase.base.BaseWebActivity;

/**
 * webview使用模板
 * Created by changwu on 2017/5/22.
 * <p>
 */

public class TempWebActivity extends BaseWebActivity {
    @Override
    protected int getLayoutId() {
        return R.layout.activity_web;
    }


    /**
     * 访问的地址
     *
     * @return
     */
    @Override
    public String getUrl() {
        return "https://www.baidu.com/";
    }

    @Override
    public void initToolBar() {
        super.initToolBar();
        title.setText("模板");
    }

    /* @OnClick({R.id.back})
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.back:
                finish();
                break;
        }
    }*/


}
